/*  1:   */ package com.htxx.security.cipher;
/*  2:   */ 
/*  3:   */ public abstract class BlockCipher
/*  4:   */   extends Cipher
/*  5:   */ {
/*  6:   */   public int blockSize;
/*  7:   */   
/*  8:   */   public BlockCipher(int keySize, int blockSize)
/*  9:   */   {
/* 10:12 */     super(keySize);
/* 11:   */     
/* 12:14 */     this.blockSize = blockSize;
/* 13:   */   }
/* 14:   */   
/* 15:   */   public int blockSize()
/* 16:   */   {
/* 17:19 */     return this.blockSize;
/* 18:   */   }
/* 19:   */   
/* 20:   */   public abstract void encrypt(byte[] paramArrayOfByte1, int paramInt1, byte[] paramArrayOfByte2, int paramInt2);
/* 21:   */   
/* 22:   */   public abstract void decrypt(byte[] paramArrayOfByte1, int paramInt1, byte[] paramArrayOfByte2, int paramInt2);
/* 23:   */   
/* 24:   */   public void encrypt(byte[] clearText, byte[] cipherText)
/* 25:   */   {
/* 26:28 */     encrypt(clearText, 0, cipherText, 0);
/* 27:   */   }
/* 28:   */   
/* 29:   */   public void decrypt(byte[] cipherText, byte[] clearText)
/* 30:   */   {
/* 31:33 */     decrypt(cipherText, 0, clearText, 0);
/* 32:   */   }
/* 33:   */ }


/* Location:           D:\htjs\document\wsrz\WsrzEjbInf\
 * Qualified Name:     com.htxx.security.cipher.BlockCipher
 * JD-Core Version:    0.7.0.1
 */